<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>教师信息更新</title>
    <link rel="stylesheet" href="../../CSS/main.css" type="text/css" />
    <style>
        input {margin: 5px}
    </style>
</head>

<body>
<div id="Container">
    <div id="Header">
        <div id="logo" align="center">学生信息管理系统</div>
    </div>
    <div id="Content">
        <div id="Content-Left" style="text-align: center">
            <a href="/admin/teacherManage"><p align="centre">教师管理</p></a>
            <a href="/admin/studentManage"><p align="centre">学生管理</p></a>
            <a href="/quit"><p align="centre">退出</p></a>
        </div>
        <div id="Content-Main" >
            <form action="/admin/teacherUpdate" method="post">
                教师编号：
                <input type="text" name="teacher_id" value="#(teacher.teacherId)" readonly><br>
                密码：
                <input type="password" name="teacher_password" value="#(teacher.teacherPassword)" required><br>
                姓名：
                <input type="text" name="teacher_name" value="#(teacher.teacherName)" required><br>
                性别：
                <input id="r1" type="radio" value="男" name="teacher_sex"><label for="r1">男</label></input>
                <input id="r2" type="radio" value="女" name="teacher_sex"><label for="r2">女</label></input><br>
                入职日期：
                <input type="date" name="teacher_board_date" value="#(teacher.teacherBoardDate)" required><br>
                身份证：
                <input type="text" name="teacher_id_card" value="#(teacher.teacherIdCard)" required><br>
                联系方式：
                <input type="text" name="teacher_phone" value="#(teacher.teacherPhone)"><br>
                家庭住址：
                <input type="text" name="teacher_address" value="#(teacher.teacherAddress)"><br>
                权限：
                <select name="teacher_jurisdiction">
                    #if(teacher.teacherJurisdiction == 0)
                    <option value = "0" selected="selected" >管理员</option>
                    <option value = "1">辅导员</option>
                    <option value = "2">教师</option>
                    #else if(teacher.teacherJurisdiction == 1)
                    <option value = "0">管理员</option>
                    <option value = "1"  selected="selected">辅导员</option>
                    <option value = "2">教师</option>
                    #else (teacher.teacherJurisdiction == 2)
                    <option value = "0">管理员</option>
                    <option value = "1">辅导员</option>
                    <option value = "2"  selected="selected">教师</option>
                    #end
                </select><br>
                &nbsp;&nbsp;&nbsp;<input type="submit" value="提交">
            </form>
        </div>
    </div>
    <div class="Clear"><!--如何你上面用到float,下面布局开始前最好清除一下。--></div>
    <div id="Footer">版权归MyTeam小组所有</div>
</div>


</body>
</html>